﻿<?php

?>
<!DOCTYPE HTML>
<html>
<!-- jQuery库 -->
<script src="js/jquery-1.10.1.js"></script>
<meta http-equiv="Content-Type" content="charset=utf-8">
<body>
<!-- 从下到上依次为背景，立绘，文本窗口，菜单 -->
<canvas id="background1" width="800px" height="600px" style="position:absolute;"></canvas>
<canvas id="background2" width="800px" height="600px" style="position:absolute;"></canvas>
<canvas id="characterimage" width="800px" height="600px" style="position:absolute;"></canvas>
<canvas id="textwindow" width="800px" height="600px" style="position:absolute;"></canvas>
<canvas id="menu" width="800px" height="600px" style="position:absolute;"></canvas>

<!-- 相关信息 -->
<div id="information" algin=center style="position:absolute; top:620px;">Kagari Project --- A HTML5 AVG Engine</div>

<!-- 各类库文件 -->
<!-- 背景相关 -->
<script src="lib/background.js"></script>
<script src="lib/characterimage.js"></script>
<!-- 游戏相关 -->
<script src="lib/kp.js"></script>
<script type="text/javascript">
//初始化函数
$(document).ready(function(){
	kp.init();
	bgf.draw('img/1.jpg');
	ci.draw('img/tachie1.jpg');
	//fronttoback();
	setTimeout('bgf.clearRect(0, 0, 800, 600);',2000);
});
</script>
</body>
</html>